﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace ThePushCSharp
{
    public class Player
    {
        public GameState state;
        public String name;
        public Color color;
        public int resourceAmount;

        public Player(GameState state, String name, Color color)
        {
            this.state = state;
            this.name = name;
            this.color = color;
            this.resourceAmount = state.startingResource; //default starting amount
        }

        public bool isAlly(Player player)
        {
            return (player.name == name);
        }
    }
}
